package com.chao.member.service;

import com.chao.member.mapper.UmsMemberMapper;
import com.chao.model.UmsMember;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UmsMemberService {

    @Autowired
    UmsMemberMapper umsMemberMapper;

    public void Test(){
        //UmsMember umsMember = umsMemberMapper.selectById(1);
        for(int i=0; i<10; i++){
            UmsMember u = new UmsMember();
            u.setPhone(i);
            umsMemberMapper.insert(u);
        }
        //System.out.println(umsMember);
    }
}
